﻿namespace Ngs.Data
{
    using System;

    public class StorageHandle<T>
    {
        public StorageHandle()
        {
        }

        public Func<IDataQuery<T>> Query { get; set; }

        public Func<T, T> Create { get; set; }

        public Action<T> Delete { get; set; }

        public Action<T> Save { get; set; }

    }
}
